home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
misc
/
emu
/
ATUtilities.lha
/
ATUtilities
/
BASIC
/
MOUSE.BAS
< prev
next >
Wrap
BASIC Source File
|
2000-09-26
|
428b
|
36 lines
$include "regnames.inc"
CLS
REG %AX,&H3
CALL INTERRUPT &H10
color 3
x$=string$(32000,chr$(176))
?x$;
reg %ax,0
call interrupt &H33
reg %ax,8
reg %cx,0
reg %dx,24*8
call interrupt &H33
reg %ax,7
reg %cx,0
reg %dx,79*8
call interrupt &H33
REG %AX,1
call interrupt &H33
while inkey$=""
reg %ax,3
call interrupt &H33
locate 1,1
x%=reg(%cx)
y%=reg(%dx)
x%=x%/8%
y%=y%/8%
?x%,y%
wend